CREATE TABLE IF NOT EXISTS "notes" (
    "id" CHAR(20) PRIMARY KEY,
    "content" VARCHAR NOT NULL,
    "is_md" BOOLEAN NOT NULL DEFAULT FALSE,
    "has_view_pwd" BOOLEAN NOT NULL DEFAULT FALSE,
    "view_pwd" VARCHAR(76) NOT NULL DEFAULT '',
    "has_man_pwd" BOOLEAN NOT NULL DEFAULT FALSE,
    "man_pwd" VARCHAR(76) NOT NULL DEFAULT '',
    "is_arch" BOOLEAN NOT NULL DEFAULT FALSE,
    "dateline" TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP
);